Java Database Programming with JDBC Java Database Programming with JDBC
by Pratik Patel
Coriolis, The Coriolis Group
ISBN: 1576100561   Pub Date: 10/01/96
  

Previous Table of Contents Next


Methods

Method Name Additional Description
public abstract void clearWarnings() throws SQLException Clears the warnings for the ResultSet
public abstract void close() throws SQLException Closes the ResultSet
public abstract int findColumn(String columnName) throws SQLException Gets the column number for the specified columnName in the ResultSet
public abstract ResultSetMetaData getMetaData() throws SQLException Returns a ResultSetMetaData object that contains information about the query’s resulting table
public abstract InputStream getAsciiStream(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract InputStream getAsciiStream(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract InputStream getBinaryStream(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract InputStream getBinaryStream(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract boolean getBoolean(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract boolean getBoolean(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract byte getByte(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract byte getByte(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract byte[] getBytes(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract byte[] getBytes(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract String getCursorName() throws SQLException This returns a String with this ResultSet’s cursor name
public abstract Date getDate(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract Date getDate(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract double getDouble(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract double getDouble(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract float getFloat(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract float getFloat(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract int getInt(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract int getInt(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract long getLong(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract long getLong(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract Numeric getNumeric(int columnIndex, int scale) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract Numeric getNumeric(String columnName, int scale) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract Object getObject(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract Object getObject(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract short getShort(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract short getShort(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract String getString(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract String getString(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract Time getTime(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract Time getTime(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract Timestamp getTimestamp (int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract Timestamp getTimestamp(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract InputStream getUnicodeStream(int columnIndex) throws SQLException Fetches the result from the current row in the specified column (the column number - columnIndex) in the resulting table
public abstract InputStream getUnicodeStream(String columnName) throws SQLException Fetches the result from the current row in the specified column (the column name - columnName) in the resulting table
public abstract SQLWarning getWarnings() throws SQLException Returns the warnings for the ResultSet
public abstract boolean next() throws SQLException Retrieves the next row of the resulting table
public abstract boolean wasNull() throws SQLException Returns true if the last column read by one of the get methods was NULL


Previous Table of Contents Next